package com.tjetc.service;

import com.tjetc.domain.Room;
import com.tjetc.utils.PageInfo;

import java.util.List;

public interface RoomService {
    int getCount(String number);

    List<Room> list(String number, PageInfo<Room> pageInfo);

    Room findByNumber(String number);

    boolean add(Room room);

    boolean update(Room room);

    boolean del(int id);

    List<Room> list1();

    Room findById(int roomid);
}
